package com.carleasoft.mps.cms.business.train.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.cms.business.train.bean.entity.TrainConsumeItem;
import com.carleasoft.mps.cms.business.train.bean.po.TrainConsumeItemBatchEditPo;
import com.carleasoft.mps.cms.business.train.bean.po.TrainConsumeItemPageQueryPo;
import com.carleasoft.mps.cms.business.train.bean.vo.TrainConsumeItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 消耗合计 服务类
 * </p>
 *
 * @author fan
 * @since 2023-05-17
 */
public interface TrainConsumeItemService extends IService<TrainConsumeItem> {
    /**
     * 训练日常消耗-消耗-维护-分页
     */
    Page<TrainConsumeItemVo> consumeMaintainPageQuery(Page page,TrainConsumeItemPageQueryPo trainConsume);
    /**
     * 训练日常消耗-消耗-维护-批量编辑
     */
    boolean consumeMaintainBatchEdit(List<TrainConsumeItem> trainConsumeItemList);
    /**
     * 训练日常消耗-消耗-维护-根据药品名称批量编辑
     */
    boolean consumeMaintainBatchEditByName(List<TrainConsumeItem> trainConsumeItemList);
}
